From: Jan Beulich Date: Thu, 28 Jun 2012 11:36:08 +0000 (+0200) Subject: x86/hvm: increase struct hvm_vcpu_io's mmio_large_read[] X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~8283 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=b2ff98b2f208146e3976837e125119ac1a901fe1;p=xen.git x86/hvm: increase struct hvm_vcpu_io's mmio_large_read[] Since the emulator now supports a few 256-bit memory operations, this array needs to follow (and the comments should, too). To limit growth, re-order the mmio_large_write_* fields so that the two mmio_large_*_bytes fields end up adjacent to each other. Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h index f2da72d750..9d68ed226d 100644 --- a/xen/include/asm-x86/hvm/vcpu.h +++ b/xen/include/asm-x86/hvm/vcpu.h @@ -59,13 +59,13 @@ struct hvm_vcpu_io { unsigned long mmio_gva; unsigned long mmio_gpfn; - /* We may read up to m128 as a number of device-model transactions. */ + /* We may read up to m256 as a number of device-model transactions. */ paddr_t mmio_large_read_pa; - uint8_t mmio_large_read[16]; + uint8_t mmio_large_read[32]; unsigned int mmio_large_read_bytes; - /* We may write up to m128 as a number of device-model transactions. */ - paddr_t mmio_large_write_pa; + /* We may write up to m256 as a number of device-model transactions. */ unsigned int mmio_large_write_bytes; + paddr_t mmio_large_write_pa; }; #define VMCX_EADDR (~0ULL)